package com.plwf.lake.mapper;

import com.plwf.lake.entity.Coach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CoachMapper {

    public List<Coach> select(Map<String,Object> map);
    public boolean insert(Coach bean);
    public boolean delete(Integer coaId);
    public boolean update(Coach bean);
    public Coach selectOne(Integer coaId);
    public boolean enable(Coach bean);
    public boolean updateImage(Coach coach);
    public List<Coach> selectAll();
    public Coach login(Coach bean);
    public Integer maxId();

}
